package yf.mall.vo.down;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class SumUserDown {

    @ExcelIgnore
    private Long id;

    @ExcelProperty("名字")
    private String name;

    @ExcelProperty("手机号")
    private String mobile;

    @ExcelProperty("级别")
    private String level;

    @ExcelProperty("直推")
    private Integer child;

    @ExcelProperty("团队")
    private Integer team;

    @ExcelProperty("店主")
    private Integer DZ;

    @ExcelProperty("店主总数")
    private Integer DZT;

    @ExcelProperty("达人")
    private Integer DR;

    @ExcelProperty("达人总数")
    private Integer DRT;

    @ExcelProperty("服务商")
    private Integer FW;

    @ExcelProperty("服务商总数")
    private Integer FWT;


    @ExcelProperty("服务商10")
    private Integer FW1;

    @ExcelProperty("服务商10总数")
    private Integer FWT1;

    @ExcelProperty("服务商4")
    private Integer FW2;

    @ExcelProperty("服务商4总数")
    private Integer FWT2;

    @ExcelProperty("联营")
    private Integer ly;
    @ExcelProperty("联营1")
    private Integer ly1;


    public void addTeam(Integer size){
        if(team==null){
            team = 0;
        }
        team +=size;
    }

}
